// 签名
import _bale from '../utils/package.js'
// 获取不同的接口地址
import { SSO_API, SHARE_API, ACTIVITY_API } from '../config/index.js'
import { Service } from '../utils/server.js'
class TaskModel extends Service {

  getTasks(params) {
    return this.postRequest(SHARE_API + '/task/querytask', {
      data: _bale('querytask', params)
    })
  }
  pushTask(params){
    return this.postRequest(SHARE_API+'/task/updateTask',{
      data: _bale('updateTask', params)
    })
  }

}

export { TaskModel }
